package com.cndym.service;

import java.util.List;

import com.cndym.utils.hibernate.PageBean;

public interface IFillByYYService {

	public boolean doSave(Object o);

	/**
	 *  通用
	 */
	public void saveObject(Object o);

	@SuppressWarnings("rawtypes")
	public void saveAllObject(List l);

	public void updateBySQL(String sql);

	public void updateBySQL(String sql, String[] param);

	public void update(Object o);

	public void doupdate(Object o);

	@SuppressWarnings("rawtypes")
	public Object getTBySQL(String sql, Class c);

	@SuppressWarnings("rawtypes")
	public List getListBySQL(String sql);

	@SuppressWarnings("rawtypes")
	public List getListBySQL(String sql, Object[] param);

	public PageBean getPageBean(String select, Object[] paramValues, int pageId, int pageSize);

	public List getListWithTypeBySQL(String sql, Object[] param, Class c);

}